package com.longcai.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.longcai.entity.auth.SysShopsPermission;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZJ
 * @since 2019-03-16
 */
public interface SysShopsPermissionService extends IService<SysShopsPermission> {

    List<SysShopsPermission> listParents();

    SysShopsPermission getById(Integer id);

    void updatePermission(SysShopsPermission SysShopsPermission);

    List<SysShopsPermission> listByRoleId(String roleId);
}
